<?PHP
// vim: set expandtab tabstop=4 shiftwidth=4:
// +----------------------------------------------------------------------+
// | SAPID: XML Sapiens Engine Demonstrator                               |
// +----------------------------------------------------------------------+
// | Author:  Max Baryshnikov aka Mephius <mb@rg.by>	                  |
// | Copyright (c) 2004 Max Baryshnikov                                   |
// | http://sapid.sourceforge.net                                         |
// +----------------------------------------------------------------------+
// | This source file is free software; you can redistribute it and/or    |
// | modify it under the terms of the GNU Lesser General Public           |
// | License as published by the Free Software Foundation; either         |
// | version 2.1 of the License, or (at your option) any later version.   |
// |                                                                      |
// | This source file is distributed in the hope that it will be useful,  |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of       |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU    |
// | Lesser General Public License for more details.                      |
// +----------------------------------------------------------------------+
// Release: 20/03/08 (dd/mm/yy)
// $Id: install.php,v 1.5 2005/09/07 06:18:20 sheiko Exp $

$env["http_path"]=$http_path="http://sapid.russianles.ru/";
$admin_login="admin";
$admin_path="area51";
$MODREWRITE="enabled";

$env["argv"]=array();
$DEMO_MODE="disabled";

// List of legal IPs for administrative area. It's possible to use mask (*)
//$GLOBALS["LegalIPsList"] = array("192.168.1.84");

define("PHP_DATEFORMAT", "d/m/Y");
define("OBJ_CACHE", false); //Speed up ddc compilation if set to true. Currently gives 5-10% off page generation time.
define("DEBUG", true);	//Debug trigger. This option affects TRACE mode and performance monitoring
define("DAL", "files"); //Set data abstraction layer to files
define("COMPRESS_XML", false); //Compress xml tree output with gzip
define("ALLOW_REGISTRATION", true); //Allow or not user registration at site
define("REGISTRATION_GROUP", "secret"); //Group name, where newly registered users will be placed


define("VDB_SAMEIP_WRITE_DELAY", 999999); // It sets the minimum amount of time (in minutes) needed between two successful write attempt from the same ip

	
define("SAPID_STARTED", true);

	
$env["default_charset"]=$default_charset="UTF-8";
$env["default_language"]=$default_language = "ru";
$root_path=realpath(dirname(__FILE__) . "/../") . "/";

define("ROOT_PATH", $root_path);


$SystemTextAreaStyle = "background-color: white; font-family: Courier new,Tahoma, Arial; font-size: 12px;";

$FEEDBACK_EMAIL = "nicolay.ignatov@gmail.com";
$FirstTrackItemName = "Home";
Error_Reporting(1+2+4);

$VERSION = "1.2.3.06";
$CONFIGURED="20/03/2008 at 22:52";

//Syntax highlighting options
ini_set("highlight.bg",      "#FFFFFF");    # white
ini_set("highlight.comment", "#808080");    # gray
ini_set("highlight.default", "#660000");    # brown
ini_set("highlight.html",    "#0000FF");    # blue
ini_set("highlight.keyword", "#0000FF");    # blue
ini_set("highlight.string",  "#007700");    # green
?>